]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
keyboard: Avoid markup escaping when setting button labels
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 29 Jan 2024 15:35:35 +0000 (16:35 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 29 Jan 2024 22:15:53 +0000 (22:15 +0000)
These are no longer interpreted as Pango markup.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3149>

js/ui/keyboard.js

index 6ceb2032b7229fd33438dba2d1687ee400949e77..1aa47ae47b52f250ac09f2335d81f2fbaf3f9244 100644 (file)
@@ -434,8 +434,7 @@ const Key = GObject.registerClass({
         } else if (label) {
             button.set_label(label);
         } else if (commitString) {
-            const str = GLib.markup_escape_text(commitString, -1);
-            button.set_label(str);
+            button.set_label(commitString);
         }
 
         button.keyWidth = 1;